[POWERPC][XEN] Track pages correctly
authorJimi Xenidis <jimix@watson.ibm.com>
Wed, 13 Sep 2006 22:41:11 +0000 (18:41 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Wed, 13 Sep 2006 22:41:11 +0000 (18:41 -0400)
commit73bf5f40ccce04c1c4409047e1773e1cefc4d86d
treea0f1c195eb2c2925542a16cb550936ba065fce8b
parentecb171d4a92fdcef04ef1dfd6d2d0b839068ee88
[POWERPC][XEN] Track pages correctly

The following patch tracks and frees pages correctly.  It solves the problem where a foreign mapping would zombie a domain because the refcnts remained.
This involved:
  - implement relinquish_memory() for PowerPC
  - remove free_rma() since all pages get "relinquished" now.
  - foreign pages are get and put correctly

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/domain.c
xen/arch/powerpc/mm.c
xen/arch/powerpc/papr/xlate.c
xen/include/asm-powerpc/mm.h